<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/my/address.css" />
	</head>

	<body>
		<div class="address" v-cloak>
			<header class="mui-bar mui-bar-nav">
				<a class="mui-action-back mui-icon mui-icon-arrowleft mui-pull-left"></a>
				<h1 class="mui-title">地址管理</h1>
			</header>

			<div id="pullrefresh" class="mui-content mui-scroll-wrapper">
				<div class="mui-scroll">
					<div class="address_list" v-for="(addlist,index) in addlist">
						<div class="user" @tap="addressCheck(addlist)">
							<div class="user_mane">{{addlist.receiver}}</div>
							<div class="user_phone">{{addlist.mobile}}</div>
						</div>
						<div class="user_address" @tap="addressCheck(addlist)">{{addlist.province +' '+addlist.city +' '+addlist.area + ' ' + addlist.subAdds}}</div>
						<div class="operation">
							<div class="radio" @tap="radios(addlist)">
								<!--选择checked-->
								<div class="mui-icon mui-icon-checkmarkempty" :class="{'checked':addlist.isDefault ==1}"></div>
								<span>默认地址</span>
							</div>
							<div class="modify">
								<div @tap="modify(addlist)">
									<img src="../../images/member_xiu.png" /> 修改
								</div>
								<div @tap="removeRess(addlist,index)">
									<img src="../../images/member_del.png" /> 删除
								</div>
							</div>
						</div>
					</div>
					<div></div>
				</div>
			</div>
			<div class="noaddress" v-show="addlist.length <= 0 && swith">
				抱歉没有地址
			</div>
			<div class="footer clsopen" href="addsite.html">
				<button type="button" class="mui-btn mui-btn-danger">添加地址</button>
			</div>
		</div>

		<script src="../../js/mui.min.js"></script>
		<script src="../../js/libs/zepto.js"></script>
		<script src="../../js/common.js"></script>
		<script src="../../js/libs/vue.js"></script>
		<script src="../../js/my/address.js"></script>
	</body>

</html>